package edu.ues21.tcs.ecommerce2011.mvc.model;


//@ Author : Fran

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "administrador")
public class Administrador extends Persona {
	
	@Id
	@Column(name = "user")
	private int user;
	
	@Column(name = "password")
	private String password;
	
	public Administrador() {

	}

	public Administrador(Integer user, String password) {
		this.user = user;
		this.password = password;
	}
	


	public int getUser() {
		return user;
	}

	public void setUser(int user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void cambiarPassword(String password) {
	
	}
}
